/* CDN 服务仅供平台体验和调试使用，平台不承诺服务的稳定性，企业客户需下载字体包自行发布使用并做好备份。 */
@font-face {
    font-family: "站酷高端黑 Regular";
    font-weight: 400;src: url("//at.alicdn.com/wf/webfont/L5e7PHvRLPpr/LNP41AwWXpEZBLxM-EIvR.woff2") format("woff2"),
url("//at.alicdn.com/wf/webfont/L5e7PHvRLPpr/dbSLSlDv3JRa7hIPKtJgM.woff") format("woff");
    font-display: swap;
}

/*整体样式*/
body {
    font-family: "JetBrains Mono", Menlo, Consolas !important;
    color: #333333 !important;
    line-height: 1.6rem;
}
a{
    text-decoration: none !important;
}
a:hover{
    color: #2185D5 !important;
    text-decoration: none !important;
}

/*封面*/
section.cover.show{
    background: linear-gradient(to left bottom, hsl(208, 100%, 85%) 0%,hsl(38, 100%, 85%) 100%) !important;
}
.cover-main img{
    border: none;
    border-radius: 50px;
}
.cover-main a[href="#/README"]:hover{
    color: white !important;
}
/*封面图*/
.github-corner img{
    border: none;
}

/*右上角图标*/
body:nth-child(1) {
    background-color: #009fff;
    right: 10px !important;
}

/*侧边栏*/
.sidebar ul li {
    margin: 0;
    position: relative;
}
.sidebar ul li ul {
    margin: 6px 0;
}
.sidebar ul li p {
    padding-left: 22px;
    font-size: 18px;
    font-weight: normal;
}
.sidebar ul li a {
    line-height: 35px;
    font-size: 14px;
    padding: 3px 0 3px 22px;
}
.sidebar ul li.active>a {
    font-size: 16px !important;
}

/*搜索框*/
.search{
    margin: 10px 10px 20px;
    border-bottom: none !important;
}
.search > .input-wrap > input{
    border-radius: 50px;
    border: 1px solid #cdcdcd;
}
.search > .input-wrap > .clear-button{
    position: absolute;
    right: 30px;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

/*主内容样式*/
.content{
    padding-top: 20px;
}
.markdown-section div[style='margin-bottom: 10px;']{
    margin-bottom: 30px !important;
}
.markdown-section h1, .markdown-section h2, .markdown-section h3, .markdown-section h4 {
    /*position: relative;*/
    margin-top: 1.2rem;
    margin-bottom: 1rem;
    font-weight: bold;
    line-height: 1.4;
    cursor: text;
    color: #273849;
}
.markdown-section h1 {
    padding-bottom: .4rem;
    font-size: 2.2rem;
    margin-top: 0;
    line-height: 1.3;
    text-align: center;/*居中*/
}
.markdown-section h2 {
    font-size: 1.75rem;
    line-height: 1.225;
    margin: 35px 0 15px;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #eaecef;/*下边框*/
}
.markdown-section h3 {
    font-size: 1.4rem;
    line-height: 1.43;
    margin: 20px 0 7px;
}
.markdown-section h4 {
    font-size: 1.2rem;
    margin: 10px;
}
.markdown-section h5 {
    font-size: 1rem;
    margin: 8px 18px;
}
.markdown-section h6 {
    font-size: 0.9em;
    margin: 6px 25px;
}
.markdown-section p {
    color:#333333;
    line-height:1.6rem;
    font-size: inherit;
    margin: 6px 25px;
    margin: 6px 0px;
}
.markdown-section p > a {
    font-weight: 500;
}
.markdown-section p > a:hover {
    font-weight: 600;
    text-decoration: none;
}
.markdown-section ol, .markdown-section ul {
    margin-top: 0px;
    margin-bottom: 10px;
    line-height: 27px !important;
    font-size: 16px !important;
}
.markdown-section ol > li > a, .markdown-section ul > li > a{
    font-weight: 500;
}
.markdown-section ol > li > a:hover, .markdown-section ul > li > a:hover{
    font-weight: 600;
}
.markdown-section blockquote{
    border-left: 4px solid #b1b1b2;
    padding-left: 15px;
    margin: 10px 0px;
}
.markdown-section blockquote > p,.markdown-section blockquote > p > a{
    font-weight: 100 !important;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
}
.markdown-section blockquote > p > strong,.markdown-section blockquote > p > strong > a{
    font-weight: 500 !important;
}
.markdown-section blockquote > p > a:hover, .markdown-section blockquote > p > strong > a:hover{
    font-weight: 600 !important;
    text-decoration: underline;
}

/*图片居中*/
p:has(> img){
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    column-gap: 20px;
}
img{
    border: 1px solid silver;
    border-radius: 10px;
    margin: 10px 0px;
}

/*GIF居中*/
p:has(> .gifcontrol-canvas){
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    column-gap: 20px;
}
.gifcontrol-canvas>canvas,.gifcontrol-canvas>div{
    border: 1px solid silver;
    border-radius: 10px;
}

/*表格*/
table{
    display: table !important;
    text-align: center;
    font-size: 16px !important;
}
table > thead{
    font-size: 16px;
    background-color: rgba(232,232,232,0.7);
}
table > tbody{
    font-size: 15px;
}
table tr:nth-child(2n){
    background: rgba(248,248,248,0.4);
    border-bottom: none !important;
}

/*滚动条*/
/* 1.滚动条宽度 */
::-webkit-scrollbar {
    width: 6px;
}
/* 2.滚动条颜色 */
::-webkit-scrollbar-thumb {
    background: #b1b1b2;
    border-radius: 2em;
}

/*导航栏*/
.app-nav {
    position: fixed;
    margin: 0;
    height: 3rem;
    background-color: #fff;
    box-shadow: 0 2px 5px rgb(0 0 0 / 6%);
    padding: 10px 30px;
    width: calc(100% - 300px);
    right: 0px;
    box-sizing: border-box;
}
.app-nav>ul {
    padding: 0px;
    display: flex;
    justify-content: right;
    align-items: center;
    flex-direction: row;
    column-gap: 15px;
}
.app-nav>ul >li{
    padding: 0px;
    margin: 4px 0px 0px;
}

/*回到顶部*/
.goup-container{
    background : #2185D5 !important;
    bottom: 85px !important;
}

/*代码块*/
code {
    background-color: #eaeaea !important;
}
code::-webkit-scrollbar {
    height: 8px;
    background-color: transparent;
}
code::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 10px;
    background-color:gainsboro;
}
pre {
    padding: 0;
    margin: 10px 0;
    background-color: #282c34 !important;
    color: #ffffff !important;
    overflow: hidden;
    border-radius: 4px;
}
.markdown-section pre>code {
    font-family: Inconsolata,
    Consolas,
    Menlo,
    Monaco,
    "Andale Mono WT",
    "Andale Mono",
    "Lucida Console",
    "DejaVu Sans Mono",
    "Bitstream Vera Sans Mono",
    "Courier New",
    Courier,
    monospace;
    /*white-space: pre-wrap;*/
    color: #ffffff;
    background: #282c34 !important;
    font-weight: normal;
    letter-spacing: normal;
    line-height: 1.7;
    tab-size: 4;
    text-align: left;
    word-spacing: normal;
    word-wrap: normal;
    word-break: normal;
    hyphens: none;
    font-size: .9rem !important;
}
pre[data-lang] code {
    display: block;
    overflow: auto;
    padding: 1.75em 1.5em 1.5em 1.5em;
}
pre:after {
    content: attr(data-lang);
    position: absolute;
    top: 0.65em;
    right: 0.65em !important;
    opacity: 0.6;
    color: #ffffff;
    font-size: 0.1rem;
    line-height: 1;
}
/*代码复制按钮*/
.docsify-copy-code-button {
    right: 0.4em !important;
    top: 1.4em !important;
    padding: 0 !important;
    background-color: transparent !important;
    border-radius: 4px !important;
    cursor: pointer !important;
}
/*代码样式*/
.token.punctuation {
    color: #999999 !important;
}